package com.pa.chong.pachong.tool.dao;

import com.pa.chong.pachong.tool.entity.PhotoType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

@Component
public interface PhotoTypeDao extends JpaRepository<PhotoType, Long> {

        public PhotoType getPhotoTypeByParentId(String parentId);

}
